package com.macro.mall.mapper;

import com.macro.mall.dto.BmsActivitiesApplicantSnapshotDetail;
import com.macro.mall.model.BmsActivitiesApplicantSnapshot;
import com.macro.mall.model.BmsActivitiesApplicantSnapshotExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BmsActivitiesApplicantSnapshotMapper {
    long countByExample(BmsActivitiesApplicantSnapshotExample example);

    int deleteByExample(BmsActivitiesApplicantSnapshotExample example);

    int deleteByPrimaryKey(String id);

    int insert(BmsActivitiesApplicantSnapshot row);

    int insertSelective(BmsActivitiesApplicantSnapshot row);

    List<BmsActivitiesApplicantSnapshot> selectByExample(BmsActivitiesApplicantSnapshotExample example);

    BmsActivitiesApplicantSnapshot selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("row") BmsActivitiesApplicantSnapshot row, @Param("example") BmsActivitiesApplicantSnapshotExample example);

    int updateByExample(@Param("row") BmsActivitiesApplicantSnapshot row, @Param("example") BmsActivitiesApplicantSnapshotExample example);

    int updateByPrimaryKeySelective(BmsActivitiesApplicantSnapshot row);

    int updateByPrimaryKey(BmsActivitiesApplicantSnapshot row);

    int updateActivitiesLockApplicant(@Param("detail") BmsActivitiesApplicantSnapshotDetail activitiesApplicantDetail, @Param("registryCount") int registryCount);

    int resetActivitiesLockApplicant(@Param("detail") BmsActivitiesApplicantSnapshotDetail activitiesApplicantDetail, @Param("registryCount") int registryCount);

}
